package com.suixuan.spring.entity.base;

import java.io.Serializable;

public abstract class PrimaryKeyEntity implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -384594656550474050L;
	protected Long id = 0L;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public PrimaryKeyEntity(Long id) {
		super();
		this.id = id;
	}

	public PrimaryKeyEntity() {
		super();
	}

}
